<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../statics/css/bootstrap.min.css">
    <link rel="stylesheet" href="../statics/css/layui.css">

    <style>
        .layui-col-md6 {
            padding-left: 1rem;
            padding-top: 1rem;
        }

        .next-join-que {
            font-size: 1.5em;
            float: left;
        }

        .btn-primary {
            margin-left: 3rem;
            float: left;
        }

        .li {
            margin-right: 3rem;
        }

        li {
            list-style-type: decimal;
            display: list-item;
        }
    </style>
</head>

<body>
    <ul class="layui-nav">

        <li class="layui-nav-item">
            <a href="" data-toggle="modal" data-target="#saysomething">发起新的问卷</a>
        </li>
        <li class="layui-nav-item">
            <a href="" data-toggle="modal" data-target="">参与的问卷</a>
        </li>

        <li class="layui-nav-item">
            <a href="" data-toggle="modal" data-target="">查看调查结果</a>
        </li>


        <li class="layui-nav-item" lay-unselect="" style="margin-right: 2rem;float: right;">
            <a href="javascript:;">当前用户:☺
                <dl class="layui-nav-child">
                    <dd style="text-align: center;"><a href="javascript:;" onclick="loginOut()">退出登录</a>
                    </dd>
                </dl>
        </li>
    </ul>
    <div>
        <div class="card" style="width:25em;height: 30em; margin-left: 3rem;">
            <label for="" class="next-join-que">最近参与的问卷</label>
        </div>
    </div>

    <div class="modal fade" id="saysomething" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title" id="exampleModalLabel">创建新的问卷</h5>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <form>
                        <div style="margin-left: 2rem;">
                            <label for="exampleFormControlInput1">主题</label>
                            <input type="email" class="form-control" id="newQue-theme">
                        </div>
                        <div style="margin-left: 2rem;">
                            <label for="exampleFormControlInput1">说明:</label>
                            <textarea class="form-control" id="newQue-explain" rows="3"></textarea>
                        </div>
                        <div style="margin-left: 2.5em;padding-top: 1em;">
                            <label for="exampleFormControlInput1">添加问题:</label>
                            <br>
                            <ol>
                                <li><input type="text" class="que-tenlists"><label for="">(0~10分)</label></li>
                                <li><input type="text" class="que-tenlists"><label for="">(0~10分)</label></li>
                                <li><input type="text" class="que-tenlists"><label for="">(0~10分)</label></li>
                                <li><input type="text" class="que-tenlists"><label for="">(0~10分)</label></li>
                                <li><input type="text" class="que-tenlists"><label for="">(0~10分)</label></li>
                                <li><input type="text" class="que-tenlists"><label for="">(0~10分)</label></li>
                                <li><input type="text" class="que-tenlists"><label for="">(0~10分)</label></li>
                                <li><input type="text" class="que-tenlists"><label for="">(0~10分)</label></li>
                                <li><input type="text" class="que-tenlists"><label for="">(0~10分)</label></li>
                                <li><input type="text" class="que-tenlists"><label for="">(0~10分)</label></li>
                            </ol>
                        </div>

                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>
                    <button type="button" class="btn btn-primary" data-dismiss="modal">取消</button>
                </div>
            </div>
        </div>
    </div>

    </div>
</body>

<script src="../statics/js/query-3.6.0.min.js"></script>
<script src="../statics/js/bootstrap.min.js"></script>
<script src="../statics/js/layui.js"></script>
<script>
    function loginOut() {
        window.location.href = '/login'
    }
</script>

</html>